<html>
<head>
</head>

<body bgcolor="#FFFFFF">
<p class="Decl"><b>function</b> IntersectRect(<b>out</b> Dst: <a href="../Types/Rectangle%20Types.htm#TRect">TRect</a>; 
  <b>const</b> R1, R2: <a href="../Types/Rectangle%20Types.htm#TRect">TRect</a>): 
  Boolean; <b>overload</b>;</p>
<p class="Decl"><b>function</b> IntersectRect(<b>out</b> Dst: <a href="../Types/Rectangle%20Types.htm#TFloatRect">TFloatRect</a>; 
  <b>const</b> FR1, FR2: <a href="../Types/Rectangle%20Types.htm#TFloatRect">TFloatRect</a>): 
  Boolean; <b>overload</b>;</p>
<h2>Description</h2>
<p class="Body">Calculates intersection of the rectangles and writes result into 
  <b>Dst</b>. Functions return <i>True</i> if rectangles intersect, otherwise 
  they return <i>False</i> and write an empty rectangle into <b>Dst</b>, that 
  is a rectangle with all coordinates equal to 0.</p>
<p id="Hidden">[See also] <a href="Creating%20Rectangles.htm">Constructing Rectangles</a></p>
</body>
</html>
